<?php


require_once ROOT_PATH.'/Abstract/front_abstract.php';

class Action extends front_abstract
{
    function __call($account_id = 0, $param = array())
    {
        $account_id = intval($account_id);
        
        $data = $this->api->show($this->access_token, array('user_id'=>$account_id));
        $follow = $this->api->is_followed($this->access_token, $account_id);
        
        $this->smarty->assign('follow', $follow);
        $this->smarty->assign('data', $data);
        $this->smarty->display('weibo.html');
    }
}

?>
